package com.zsrt.utils;

import java.util.regex.Pattern;

public class MathUtil {

	
	public static boolean checkCard(String cardNo) {
		String reg = "^[0-9]{16}$";
		return Pattern.compile(reg).matcher(cardNo).find();
	}
	
	
	public static void main(String[] args) {
		
		String macAddress= "123456781234567a";
		
		System.out.println(checkCard(macAddress));
	}
}
